from django.db import models

class Category(models.Model):
	category_title = models.CharField(max_length = 100)
	
class Post (models.Model):
	title = models.CharField(max_length=100)
	body = models.TextField()
	created = models.DateTimeField()
	category = models.ForeignKey(Category)
	
	def __unicode__(self):
		return self.title
	
class AboutMe (models.Model):
	body = models.TextField()
	
class Sites (models.Model):
	site = models.CharField(max_length = 100)
	
class TurnOff (models.Model):
	status = models.TextField()
	

class Slogan (models.Model):
	slogan = models.CharField(max_length = 100)

	
	